<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<s:head />
</head>
<body>
<div id="add_c_form">
<fieldset>
<legend>添加客戶信息</legend>
<s:form method="post" name="addForm" action="addCustomer" theme="xhtml" validate="true">
<s:textfield label="姓" name="customer.fullName.lastName"></s:textfield>
<s:textfield label="名" name="customer.fullName.firstName"></s:textfield>
<s:textfield label="中间字母" name="customer.middChar"></s:textfield>
<!--<s:textfield label="国家" name="customer.detailInfo.country"></s:textfield>
<s:textfield label="城市" name="customer.detailInfo.city"></s:textfield>
-->
<s:doubleselect list="citiesMap.keySet()" doubleName="customer.detailInfo.city" 
		name="customer.detailInfo.country" doubleList="citiesMap[top]" label="所在国家城市" />
<s:textfield label="街道" name="customer.detailInfo.street"></s:textfield>
<s:textfield label="电话" name="customer.detailInfo.phone"></s:textfield>
<s:textfield label="邮编" name="customer.detailInfo.zip"></s:textfield>
<s:textfield label="邮箱" name="customer.detailInfo.email"></s:textfield>
<s:submit value="注册"></s:submit><s:reset value="重填"></s:reset>
</s:form>
</fieldset>
</div>
</body>
</html>